<?php
$action = $action ? $action : 'list';
	switch($action){
		case 'online':
			$onlines = $db->select("SELECT `userid` FROM ".DB_PRE."member_session");
		break;
		
		case 'list':
			$list['info'] = $member->listinfo($where,$order,$page,32);
			$list['pages'] = $member->pages;
		break;
	}
	include template('friend.html',$module);
?>